2008-08-05 Tor Lillqvist <tml@novell.com>
* gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
gintptr when calculating hash, so we get all of the pointer bits
on Win64 where long is 32 bits.
svn path=/trunk/; revision=21002
+2008-08-05 Tor Lillqvist <tml@novell.com>
+
+ * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
+ gintptr when calculating hash, so we get all of the pointer bits
+ on Win64 where long is 32 bits.
+
2008-08-05 Tor Lillqvist <tml@novell.com>
* gtk/gtkprintoperation-win32.c: Don't need to declare
}
if (keyval->mask & GDK_GC_TILE)
{
- hash_val += (glong) keyval->values.tile;
+ hash_val += (gintptr) keyval->values.tile;
}
if (keyval->mask & GDK_GC_STIPPLE)
{
- hash_val += (glong) keyval->values.stipple;
+ hash_val += (gintptr) keyval->values.stipple;
}
if (keyval->mask & GDK_GC_CLIP_MASK)
{
- hash_val += (glong) keyval->values.clip_mask;
+ hash_val += (gintptr) keyval->values.clip_mask;
}
if (keyval->mask & GDK_GC_SUBWINDOW)
{